-
-
Notifications
You must be signed in to change notification settings - Fork 46.6k
Fixed error in infix2prefix file #4006
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Pull Request Report@maldz3 Hello! I'm a bot made to check all the pull request Python files. First of all, I want to say thank you for your time and interest in this project and for opening a pull request. There seems to be missing requirements in some of the Python files submitted in this pull request. Please read through the report and make the necessary changes. You can take a look at the relevant links provided after the report. What are node paths? 🔽
Following functions require tests [
|
There are many other changes that need to be made here, no doctests, print statements in functions, no type hints. I just fixed the error, and changed the variables names to lowercase. |
If possible, can you provide doctests, type hints for the functions? If not, then it's fine. |
Adding doctests is a little more complicated for this code since they have print statements throughout the main functions. The table printing could either be removed completely, or perhaps be put into its own function. |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Please reopen this pull request once you commit the changes requested or make improvements on the code. If this is not the case and you need some help, feel free to seek help from our Gitter or ping one of the reviewers. Thank you for your contributions! |
Describe your change:
Using parentheses in a test caused the algorithm to fail, I added a check to remove the keystroke error. I also changed all uppercase variables to lowercase as per the coding style.
Checklist:
Fixes: #{$ISSUE_NO}
.